Ignore `panic` configuration for test/bench profiles
authorAlex Crichton <alex@alexcrichton.com>
Thu, 6 Oct 2016 22:32:15 +0000 (15:32 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 2 Nov 2016 16:12:30 +0000 (09:12 -0700)
commit0f44202b7b460de10e3509d4366af48453102f76
tree4bb1fe75add7befa45cc7b32840061d0a1b8c9ad
parenteca9e159b6b0d484788ac757cf23052eba75af55
Ignore `panic` configuration for test/bench profiles

Both of these profiles link to libtest, so it's invalid to configure them with
`panic="abort"`. To prevent confusing errors just ignore the configuration for
now.

Closes #3166
src/cargo/ops/cargo_compile.rs
src/cargo/util/toml.rs
tests/test.rs